package com.gxa.service.activities.impl;

import com.gxa.common.R.ResponseData;
import com.gxa.mapper.activities.TestMapper;
import com.gxa.pojo.Emp;
import com.gxa.service.activities.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestImpl implements Test {
    @Autowired(required = false)
    private TestMapper test;

    @Override
    public ResponseData login(Integer empno) {
        Emp emp = test.login(empno);
        ResponseData responseData = new ResponseData();
        responseData.setCode(200);
        responseData.setMsg("dsadas");
        responseData.setData(emp);
        return responseData;
    }
}
